package com.karson.common.request;

import com.karson.common.constants.Constants;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author ZKS
 */
@Data
public class PageParamRequest {

    @Schema(name = "current", example= Constants.DEFAULT_PAGE + "")
    private int current = Constants.DEFAULT_PAGE;

    @Schema(name = "size", example = Constants.DEFAULT_LIMIT + "")
    private int size = Constants.DEFAULT_LIMIT;

}